package com.xxgc.cloud.common.shiro;

import com.xxgc.cloud.common.redis.EnableRedisClient;
import com.xxgc.cloud.common.shiro.config.JwtFilter;
import com.xxgc.cloud.common.shiro.config.ShiroConfig;
import com.xxgc.cloud.common.shiro.realm.UserRealm;
import org.springframework.context.annotation.Import;

import java.lang.annotation.*;

/**
 * @program: SpringCloudStudy
 * @description: 无法ioc的问题
 * @author: Mr.abel(ShiJiaYi)
 * @create: 2022-12-08 11:01
 **/
@EnableRedisClient
@Target({ ElementType.TYPE })
@Retention(RetentionPolicy.RUNTIME)
@Documented
@Inherited
@Import({ShiroConfig.class, UserRealm.class, JwtFilter.class})
public @interface EnableShiro {
}
